package com.ruoyi.mall.pms.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商品会员价格对象 pms_member_price
 *
 * @author xuxing
 * @date 2021-02-04
 */
public class PmsMemberPrice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private Long memberLevel;

    /** 会员价格 */
    @Excel(name = "会员价格")
    private BigDecimal memberPrice;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setMemberLevel(Long memberLevel)
    {
        this.memberLevel = memberLevel;
    }

    public Long getMemberLevel()
    {
        return memberLevel;
    }
    public void setMemberPrice(BigDecimal memberPrice)
    {
        this.memberPrice = memberPrice;
    }

    public BigDecimal getMemberPrice()
    {
        return memberPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("memberLevel", getMemberLevel())
            .append("memberPrice", getMemberPrice())
            .toString();
    }
}
